package com.william.lifetraxer;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;

public class Welcome extends Activity {
	private final int SPLASH_DELAY_TIME = 3000;
	private String Tag = "WelcomeActivity";

	@Override
	public void onCreate(Bundle savedInstanceState) {
		Log.i(Tag, "onCreate()");
		super.onCreate(savedInstanceState);

		setContentView(R.layout.welcome);

		new Handler().postDelayed(new Runnable() {

			@Override
			public void run() {
				startActivity(new Intent(Welcome.this, Login.class));
				Welcome.this.finish();
			}

		}, SPLASH_DELAY_TIME);
	}
}